<?php

return array(
	'urlLowerChar'		=> true,
	'responseCharset'	=> 'utf-8', 
	'databaseCharset'	=> 'utf8',
    'internalCacheDir'	=> dirname(__FILE__) . '/_cache',
	'uploadDir'			=> realpath(ROOT_DIR . '/upload'),

	'dispatcher' => 'FLEA_Dispatcher_Auth',
	'autoQueryDefaultACTFile' => true,
	'defaultControllerACTFile' => ROOT_DIR . '/config/config.act.php',
	

	'dbDSN'				=> array(
								'driver'    => 'mysql',
								'host'      => 'localhost',
								'login'     => 'root',
								'password'  => 'nirvana',
								'database'  => 'agrind'
							),

	'view'				=> 'FLEA_View_Smarty',
    'viewConfig'		=> array(
							'smartyDir'         => dirname(dirname(__FILE__)) .'/lib/Smarty',
							'template_dir'      => APP_DIR . '/view/templates',
							'compile_dir'       => APP_DIR . '/view/templates_c',
							'left_delimiter'    => '{',
							'right_delimiter'   => '}',
						),

	'dispatcherAuthFailedCallback' => 'defaultError',
	'RBACSessionKey' => 'GRIND',
	'webControlsExtendsDir' => APP_DIR . '/webcontrols',
	'pageSize' => 5,
	'thumbWidth' => 100,
	'thumbHeight' => 100,
	'webAddr' => 'http://www.gothicc.com',
	'webName' => 'Gothicc.com',
	'webDesc' => 'Gothicc.com是一个以极端金属音乐介绍、碟评、试听和歌词下载的站点。',

	'url_rewrite' => 0,
);
?>